import { defineStore } from 'pinia'

export const changeNum = defineStore('main', {
  state: () => ({ count: 0, num: 0 }),

  getters: {},

  actions: {
    CHANGE_COUNT(data: any) {
      this.count = data
    },
    CHANGE_NUM(data: any) {
      this.num = data
    }
  }
})
